package com.xing.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 柠檬有点甜
 * @since 2021-10-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("m_like")
@ApiModel(value="Like对象", description="")
public class Like implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "点赞id")
    @TableId(value = "like_id", type = IdType.AUTO)
    private Integer likeId;

    @ApiModelProperty(value = "用户点赞id")
    private Integer userId;

    @ApiModelProperty(value = "点赞博客id")
    private Integer blogId;

    @ApiModelProperty(value = "状态(0为取消收藏，1为收藏)")
    private Integer status;


}
